import request from '@/utils/request'

// 查询考生考试成绩列表
export function listResult(query) {
  return request({
    url: '/business/candateResults',
    method: 'get',
    params: query
  })
}

// 查询考生考试成绩详情
export function examResults(id) {
  return request({
    url: '/business/examResults/' + id,
    method: 'get'
  })
}

// 查询考生考试考试记录
export function submitList(query) {
  return request({
    url: '/business/examSubmitResults/submitList',
    method: 'get',
    params: query
  })
}

// 异议处理-重考/缓考/减考/免考
export function examSpecialRecords(data) {
  return request({
    url: '/business/examSpecialRecords',
    method: 'post',
    data: data
  })
}

// 异议处理-三项重考
export function examSpecialRecords3(data) {
  return request({
    url: '/business/examSpecialRecords/create3',
    method: 'post',
    data: data
  })
}

// 异议处理-修改成绩
export function updateResult(data) {
  return request({
    url: 'business/examResults/updateResult',
    method: 'post',
    data: data
  })
}

